<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>checkform表单校验</title>
    <script type="text/javascript" src="../js/angularjs.js"></script>
    <style type="text/css">
        .ng-valid{

        }
        .ng-invalid{
            border: 1px solid red;
        }

    </style>
</head>
<body ng-app="">
<form name="form" >
    <label name="email">邮箱地址</label>
    <input type="email" name="email" ng-model="email" placeholder="EmailAdress"/>
    <br/>
    <br/>
    <br/>
    <input type="text" ng-minlength="5">

    <input type="submit" value="提交" >
</form>
</body>
</html>